package com.atguigu.stgy.admin.service;

import com.atguigu.stgy.model.dto.ApartmentDTO;
import com.atguigu.stgy.model.dto.ApartmentSearchDTO;
import com.atguigu.stgy.model.entity.ApartmentInfo;
import com.atguigu.stgy.model.vo.ApartmentDetailVO;
import com.atguigu.stgy.model.vo.ApartmentVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
public interface ApartmentInfoService extends IService<ApartmentInfo>{


    void saveOrUpdateApartmentDTO(ApartmentDTO apartmentDTO);

    Page<ApartmentVO> pageItem(ApartmentSearchDTO searchDTO);

    ApartmentDetailVO getDetailById(Long id);
}
